package com.ice.body.hardware.service.impl;
import com.ice.body.hardware.dao.DeviceMachineDao;
import com.ice.body.hardware.model.DeviceMachine;
import com.ice.body.hardware.service.DeviceMachineService;
import com.ice.base.dao.BaseDao;
import com.ice.base.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
 * Created with GuoYanBin.
 * Description:一体机 serviceImpl
 * Date: 2021-12-07
 * Time: 01:38
 */
@Service
public class DeviceMachineServiceImpl extends BaseServiceImpl<DeviceMachine> implements DeviceMachineService{
    @Resource 
    private DeviceMachineDao dao;
    @Override
    public BaseDao<DeviceMachine> getBaseDao() {
        return dao;
    }

    @Override
    public DeviceMachine getByIp(String ip) {
        return dao.getByIp(ip);
    }
}
